<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/8/17
  Time: 10:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>修改电话</title>
</head>
<body>
<h1>修改通讯录...</h1>
<form action="editPost.do" method="post">
    <input type="hidden" name="id" value="${p.id}">
    <p>
        用户: <input type="text" name="name" value="${p.name}">
    </p>
    <p>
        电话: <input type="text" name="tel" value="${p.tel}">
    </p>
    <p>
        <input type="reset" value="重置">
        <input type="submit" value="修改">
    </p>
    <p><a href="${pageContext.request.contextPath}/main/index.do">返回主页面</a></p>
    <p>${msg}</p>
</form>

</body>
</html>
